Quantum Inspired Algorithms